<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="zozopo.operations.comm.*" %>
<%@taglib prefix="s" uri="/struts-tags"%>

<html>
  <head>
    
    <title><s:property value="usermail"/> 推荐正品网店 </title>

<style>
	<!--
	table {
	table-layout: fixed;
	word-wrap:break-word;
	}
	td{
		
		word-break:break-all;
	}
	
	}
	//-->
</style>
<script type="text/javascript" src="../comm/editor/editor.js" charset="gb2312"></script>
  </head>
  
  <body>
   <jsp:include page="head.jsp"></jsp:include>
 
  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
  
 <tr>
    	<td width="270" align="center">
    		
    	</td>
    	<td width="100%">
    		 
    		
    		
    	</td>
    </tr>
    
    <tr>
    	<td valign="top">
     		<div>
     		
     		</div>
		    <jsp:include page="/user/left.jsp"></jsp:include>
     	</td>
     	
     	
     	<td valign="top" >
     	<form id="recommendForm" name="recommendForm" action="recommend.action" method="post" accept-charset="GB2312">
     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    	 <tr>
     		<td>
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		
     		<tr>
     			<td>正品网店推荐</td>
     		</tr>
     	</table>
     	</td>
     		</tr>
 <tr>
     		<td><s:fielderror id="errormessage" />
     	
			<table align="left"  border="0"  cellspacing="0" cellpadding="0" >
			<s:token />
				<tr>
					
					<td width="75">网店名称:</td>
					
					<td ><input type="text" id="subject" name="subject" size="60"/></td>
					
				</tr>
				<tr>
					<td>网店连接:</td>
				
					<td ><input type="text" id="url" name="url" size="60"/></td>
				</tr>
				
				
				<tr>
				
					<td>标签:</td>
				
					<td>
				<%
					DictionaryOS dictionaryOS = new DictionaryOS();
					Map dictionaryLableMap = dictionaryOS.getDictionaryLableMap();
					Iterator iter = dictionaryLableMap.entrySet().iterator();
					while(iter.hasNext()){
						Map.Entry entry = (Map.Entry)iter.next();
						DictionaryTB dictionary	= (DictionaryTB)entry.getValue();
						
						//if(dictionary.getDictionary_code().equals("MANUAL.LABLE.OTHER")) continue;
				%>
					<input type="radio" id="lable" name="lable" value="<%=dictionary.getDictionary_code() %>"><%=dictionary.getDictionary_value() %></input>
				<%
				
					}
					dictionaryOS.releaseConnection();
				%>
					
					</td>
				
				</tr>
				
				<tr>
				
					<td>经营品牌:</td>
				
					<td ><input type="text" id="brand" name="brand"/></td>
				
				</tr>
				
				<tr>
				
					<td>网店简介:</td>
				
					<td >
						
					</td>
				
				</tr>
				
			</table>
		
	</td>
	
	
     		</tr>
     		
     		<tr>
					<td>
		<table align="left"  border="0"  cellspacing="0" cellpadding="0">
    	
     		<tr>
     			<td>
     			<div class="m950 lineDarkBlue"></div>
     			<textarea name="context" id="context" class="editArea" require="true" datatype="LimitB" min="3" max="30000"  msg="商品详细描述必须在[3～30000]个字符之内,一个中文是两个字符!" rows="1" cols="25">
					      
					      </textarea>
					    <script language="javascript">      
					// 安装编辑器
					oEditor = new PPEditor( 'context' );
					oEditor.ToolbarSets    = [['Source'],['Bold','Italic','Underline','StrikeThrough'],['SubScript','SuperScript'],['InsertOrderedList','InsertUnOrderedList'],['JustifyLeft','JustifyCenter','JustifyRight'],['CreateLink','UnLink'],['InsertImage'],['TextColor','BGColor'],['FontName','FontSize'],['WordCount']] ;
					oEditor.Create() ; 
					</script>
					<img alt="" src="../comm/editor/auction_ruler.png">
				</td>
     		</tr>
     	</table>
					
					</td>
	
			</tr>
	
     		 <tr>
     		<td>
     		
     		<br>
     		<table >
     			<tr>
					
					<td><input value=" 提交内容 " type="submit" /></td>
					<td></td>
				</tr>
     		</table>
		
     	
     	
     	</td>
     	</tr>
     	</table>
     	</form>
	</td>
</tr>
</table>
<jsp:include page="tail.jsp"></jsp:include>
  </body>
 <script type="text/javascript">


</script>
</html>
